package com.eu.ebpm.engine.entity.runtime;

import com.eu.ebpm.engine.express.VariableType;

/**
 * 
 * 类名称: Variable
 * 类描述: 
 * @author 王晓华
 * @since 2013-12-23 下午04:05:06
 * @version v1.0
 * @param <T>
 */
public class ForkVariable {

	private Long executionId;
	
	private Long taskId;
	
	private String missionName;
	
	private String name;
	
	private Object value;
	
	private VariableType type;
	
	public ForkVariable() {
	}

	public ForkVariable(long taskId, long executionId, String missionName,
			String name, Object value, VariableType type) {
		this.taskId = taskId;
		this.executionId = executionId;
		this.missionName = missionName;
		this.name = name;
		this.value = value;
		this.type = type;
	}
	
	public long getTaskId() {
		return taskId;
	}

	public void setTaskId(long taskId) {
		this.taskId = taskId;
	}

	public VariableType getType() {
		return type;
	}

	public void setType(VariableType type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	public long getExecutionId() {
		return executionId;
	}

	public void setExecutionId(long executionId) {
		this.executionId = executionId;
	}

	public String getMissionName() {
		return missionName;
	}

	public void setMissionName(String missionName) {
		this.missionName = missionName;
	}

	@Override
	public String toString() {
		return "ForkVariable [executionId=" + executionId + ", taskId=" + taskId + ", missionName=" + missionName + ", name=" + name + ", value=" + value + ", type=" + type + "]";
	}

	
}
